package com.company.service;


import com.google.gson.Gson;
import java.util.ArrayList;

public class JsonString {
    public int id;
    public ArrayList list;
    public JsonString(ArrayList list){
        this.list = list;
    }
    public String toSting() {
        Gson gson = new Gson();
        return gson.toJson(this.list);
    }
}
